import { AppModel } from '../../../../model/AppModel'


export default {

    category: Blockly.Categories.bepart ,
    
    color: [
        Blockly.Colours.event.primary,
        Blockly.Colours.event.secondary,
        Blockly.Colours.event.tertiary
    ] ,

    previousStatement: true ,
    nextStatement: true ,

    init() {
        this.appendDummyInput()
                .appendField('关闭WiFi热点')
    } ,

    coder: {
        JavaScript(block: any, coder: any) {
            return `${coder.indentString()}beapi.wifi.stopAP()\n`
        }
    }
}
